public class Person {
    protected String id;
    protected String name;
    
    public Person(String id, String name) {
        this.id = id;
        this.name = name;
    }
    
    public void displayInfo() {
        System.out.println("编号：" + id + "，姓名：" + name);
    }
    
    public String getId() { return id; }
    public String getName() { return name; }
}